package com.foreknow.demo5;

public class Orderltem {
    private String pname;
    private double price;
    private int num;
    public Orderltem(){

    }
    public Orderltem(String pname,double price,int num){
        this.pname = pname;
        this.price = price;
        this.num = num;
    }
    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }
}
